/*
 * @Author: 张继伟
 * @Date: 2025-10-29 11:33:43
 * @Description: 
 */
import { User, MenuItem } from '../types';

// 模拟用户数据
export const mockUsers: User[] = [
  {
    id: 1,
    username: 'admin',
    email: 'admin@example.com',
    role: 'admin',
    status: 'active',
    createTime: '2023-01-01',
    avatar: 'https://api.dicebear.com/7.x/miniavs/svg?seed=1'
  },
  {
    id: 2,
    username: 'user1',
    email: 'user1@example.com',
    role: 'user',
    status: 'active',
    createTime: '2023-01-02',
    avatar: 'https://api.dicebear.com/7.x/miniavs/svg?seed=2'
  },
  {
    id: 3,
    username: 'user2',
    email: 'user2@example.com',
    role: 'user',
    status: 'inactive',
    createTime: '2023-01-03',
    avatar: 'https://api.dicebear.com/7.x/miniavs/svg?seed=3'
  }
];

// 模拟菜单数据
export const mockMenus: MenuItem[] = [
  {
    key: '/dashboard',
    label: '仪表板',
    icon: 'DashboardOutlined'
  },
  {
    key: '/user',
    label: '用户管理',
    icon: 'UserOutlined'
  },
  {
    key: '/system',
    label: '系统管理',
    icon: 'SettingOutlined',
    children: [
      {
        key: '/system/menu',
        label: '菜单管理'
      },
      {
        key: '/system/role',
        label: '角色管理'
      }
    ]
  }
];